<%--
  Created by IntelliJ IDEA.
  User: wave2003
  Date: 2022/6/8
  Time: 9:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<style>
    @import "css/login.css";
</style>
<script src="js/login.js"></script>
<body>
    <div id="xm_cent">

        <div id="xm_right" >
            <div id="xm_left_top">
                <div style="float: left;margin-left: 10px;margin-top: 10px;">
                    <a href="www.mi.com.jsp"><img id="xm_left_img" src="img/login/loge.jpg"/></a>
                </div>
                <div style="float: left;margin-left: 10px;margin-top: 24px;">
                    <span style="font-size: 16px">小米账号</span>
                </div>
            </div>
            <div id="xm_center">
                <div id="xm_login">
                    <h1>登录</h1>
                    <div id="xm_text">
                        <form action="/MyXiaomiShop/login" method="post" onsubmit="return example()">
                            <input type="text" name="name" onfocus="resetMsg('sp1')" onchange="onclicktext()" onblur="account()" placeholder="邮箱/手机号/小米ID" id="xm_account"><br><span id="sp1" style="color: red">请输入账号</span><br>
                            <input type="password" name="password" onfocus="resetMsg('sp2')" onchange="onclicktext()" onblur="login_password()" placeholder="密码" id="xm_password"><br><br><span id="sp2" style="color: red">请输入密码</span><br>
                            <input type="submit" onclick="register1()" onmouseover="butcolor1()" onmouseout="butcolor2()" id="but_denglu" style="font-size: 19px; background-color: sandybrown;" value="登录"><br>
                            <a href="account.jsp" style="color: #ff0000;font-size: 19px;margin-left: 3px;">忘记密码?</a><a style="margin-left: 187px;color: #ff0000;font-size: 19px;" href="register.jsp">注册会员</a>
                        </form>
                    </div>
                </div>
            </div>
            <div id="xm_right_right">
                <a href="#" style="color: #6f6e6e">用户协议</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" style="color: #6f6e6e">隐私政策</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" style="color: #6f6e6e">帮助中心</a>&nbsp;&nbsp;&nbsp;&nbsp;|
            </div>
        </div>
    </div>
</body>
</html>
